@import "../style/var.less";
@import "../style/general.less";
.message{
    
display: flex;
.self-center();
box-shadow: -2px 2px  5px rgba(0, 0, 0, 0.5);
transition: 0.4s;
box-sizing: border-box;
color: #fff;
font-size: 17px;
z-index: 333;
padding: 10px 20px;
white-space: nowrap;
transform: translate(-50%, -50%) translateY(25px);
opacity: 0;

align-items: center;
border-radius: 7px;
.icon{
    font-size: 23px;
    margin-right: 5px;
}

&-info{
    background: @primary;
}
&-warn{
    background:@warn;
}
&-success{
    background: @success;
}
&-error{
    background: @danger;
}

}
